//
//  EnvelopeAnimationViewController.h
//  Text_ problem
//
//  Created by jiboxue on 13-1-22.
//  Copyright (c) 2013年 jiboxue. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "RootViewController.h"

@interface EnvelopeAnimationViewController : UIViewController<AVAudioPlayerDelegate>
{
    //这是一个单利
    AppDelegate *appD;
    
    NSString *soundFile;
}
@property (nonatomic, retain) UIImageView *imageView_message;
//人的照片
@property (nonatomic, retain) UIImageView *imageView_Headimage;
//小人扣绰
@property (nonatomic, retain) UIImageView *imageView_boby;
//存星星的数组
@property (nonatomic, copy) NSMutableArray *stars;//////////
@property (nonatomic, copy) NSMutableArray *stars1;
//确定按钮
@property (nonatomic, retain) UIButton *button_confirm;
@property (nonatomic, assign) BOOL isQuestion1Answered;
@property (nonatomic, assign) BOOL isQuestion2Answered;
//问题
@property (nonatomic, retain) UILabel *label_name_china;
@property (nonatomic, retain) UILabel *label_name_english;
//横线
@property (nonatomic, retain) UIView* underLine;
@property (nonatomic, retain) UILabel *label_ask;
@property (nonatomic, retain) UILabel *label_answer;
@property (nonatomic, retain) UILabel *label_ask1;
@property (nonatomic, retain) UILabel *label_answer1;
//印章里面的文字
@property (nonatomic, retain) UILabel *label_seal_china;
@property (nonatomic, retain) UILabel *label_seal_english;
//题号
@property (nonatomic, retain) NSString *string_questionID_1;
@property (nonatomic, retain) NSString *string_questionID_2;
//星星数量
@property (nonatomic, retain) NSString *string_stars_number;
@property (nonatomic, retain) NSString *string_stars1_number;
-(void)timer;

- (void)playSound:(NSString*)soundKey;

@property (nonatomic, retain) NSDictionary *question_anwer1;
@property (nonatomic, retain) NSDictionary *question_anwer2;
////////////////////////////////////
//@property(nonatomic,retain)NSTimer *Dog_probe_animation;
@property (nonatomic, retain)NSTimer *logo_one_animation;
@property (nonatomic, retain)NSTimer *logo_one_animation3;
@property (nonatomic, retain)NSTimer *Button_herein_animation;


@property(nonatomic,retain)AVAudioPlayer *audioPlayer;


@property (nonatomic, retain) UIView *viewLanding;
//风火轮
@property (nonatomic,retain) UIActivityIndicatorView *activity;


-(void)back;
- (void)stopTimers;


@end
